import os

basedir = os.path.dirname(__file__)
print("basedir:" + basedir+'/datas.yml')
ces = basedir+'/datas.yml'
upload_path = os.path.join(ces)
print(upload_path)